package com.victor.dao_pic;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.victor.entity.Picturebook;

@Mapper
public interface PicDao {

	List<Picturebook> getPicturebooksByPicname(@Param("picname") String picname);

	/**
	 * 通过pid查询picbook书名和作者
	 * 
	 * @param pid
	 * @return
	 */
	Picturebook getPicturebookById(@Param("pid") String pid);

}
